package com.serbulent.examples.rest.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.serbulent.examples.rest.model.Book;

public interface IBookService {

	@Transactional
	public abstract List<Book> getAllBooks();

	@Transactional
	public abstract Book getBookById(int id);

}